//
//  AboMaxInterstitialAd.h
//  EyuGameSDK
//
//  Created by lcc on 2025/2/28.
//

#import <Foundation/Foundation.h>
#import "AboAdParams.h"
NS_ASSUME_NONNULL_BEGIN

//插屏广告

typedef void (^AdResultBlock)(AboAdParams*adUnit);
typedef void (^AdFailBlock)(AboAdParams*adUnit,NSError *error);

@interface AboMaxInterstitialAd : NSObject

/// 示例对象
+(instancetype)interstitialAd;


/// 预加载插屏广告
-(void)PreloadedInterstitialAd;

/// 播放广告
/// @param showAd 显示广告
/// @param hideAd 广告移除
/// @param clickAd 点击广告
/// @param failAd 广告加载失败
-(void)playInterstitialAdWithShow:(AdResultBlock)showAd hide:(AdResultBlock)hideAd click:(AdResultBlock)clickAd fail:(AdFailBlock)failAd;

/// 插屏广告是否已经准备好
-(BOOL)InterstitialAdIsLoaded;

@end

NS_ASSUME_NONNULL_END
